solve my star pattern program